<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>确认订单</title>
    <link rel="icon" type="images/x-icon" href="img/icons/favicon.ico">
    <link rel="stylesheet" href="css/base.css">
    <link rel="stylesheet" href="css/logReg.css">
    <link rel="stylesheet" href="css/common.css">
    <link rel="stylesheet" href="css/font/css/font-awesome.min.css">
    <link rel="stylesheet" href="css/confirmOrder.css">
</head>
<body>
<!--头部 开始-->
<div class="SY-header pf">
    <div class="clearfix">
        <div class="SY-logo fl usn">
            <a href="UserCenter.html"><img src="img/icons/logo.png" alt="深夜学院"><span class="slogin">深夜研习社</span></a>
        </div>
        <div class="SY-search pa dib">
            <div class="inputField">
                <input type="text" class="SY-input tac" placeholder="请输入作者名" onfocus="this.placeholder=''" onblur="this.placeholder='请输入作者名'">
                <a href="javascript:void(0);" class="search-icon pa"><i class="fa fa-search"></i></a>
            </div>
            <div class="searchTips pa dn">
                <div class="searchReferral dn">
                    <div class="searchRecent">
                        <p class="title">最近搜索</p>
                        <ul class="clearfix">
                            <li class="worker dib fl"><a href="javascript:void(0);"><span>大石头</span>CG</a></li>
                            <li class="worker dib fl"><a href="javascript:void(0);">Eric Zhang</a></li>
                            <li class="worker dib fl"><a href="javascript:void(0);">作者名称</a></li>
                            <li class="worker dib fl"><a href="javascript:void(0);">作者名称</a></li>
                            <li class="worker dib fl"><a href="javascript:void(0);">作者名称</a></li>
                            <li class="worker dib fl"><a href="javascript:void(0);">作者名称</a></li>
                            <li class="worker dib fl"><a href="javascript:void(0);">作者名称</a></li>
                            <li class="worker dib fl"><a href="javascript:void(0);">作者名称</a></li>
                        </ul>
                    </div>
                    <div class="searchHot">
                        <p class="title">热门搜索</p>
                        <ul class="clearfix">
                            <li class="worker dib fl"><a href="javascript:void(0);">大石头CG</a></li>
                            <li class="worker dib fl"><a href="javascript:void(0);">Eric Zhang</a></li>
                            <li class="worker dib fl"><a href="javascript:void(0);">作者名称</a></li>
                            <li class="worker dib fl"><a href="javascript:void(0);">作者名称</a></li>
                        </ul>
                    </div>
                </div>
                <div class="searchResult">
                    <ul class="d n">
                        <li class="worker"><a href="javascript:void(0);"><span>大石头</span>123</a></li>
                        <li class="worker"><a href="javascript:void(0);"><span>大石头</span>designer</a></li>
                        <li class="worker"><a href="javascript:void(0);"><span>大石头</span>icon</a></li>
                        <li class="worker title">创作者</li>
                        <li class="worker"><a href="javascript:void(0);"><span>大石头</span>CG</a></li>
                        <li class="worker"><a href="javascript:void(0);"><span>大石头</span>老师</a></li>
                        <li class="worker"><a href="javascript:void(0);"><span>大石头</span>老板</a></li>
                        <li class="worker"><a href="javascript:void(0);"><span>大石头</span>boss</a></li>
                    </ul>
                    <div class="checkMore tac d n">
                        <a href="javascript:void(0);">查看全部搜索结果<i class="fa fa-angle-double-right"></i></a>
                    </div>
                    <!--缺省提示-->
                    <div class="emptyInfo tac dn">
                        <p class="tips">暂未找到您想要查找的作,去<a href="MoreWorker.html">分类</a>查找更多作者吧!</p>
                    </div>
                </div>
            </div>
        </div>
        <div class="SY-topRight fr">
            <ul class="clearfix">
                <li class="SY-create fr">
                    <a href="Post.html"><span>创作</span></a>
                </li>
                <li class="SY-userPic fr">
                    <a href="UserCenter.html">
                        <img class="br50" src="img/icons/person.png" alt="userPic">
                        <object><a href="javascript:void(0);"><span class="mark db pa approveBlue"></span></a></object>
                    </a>
                    <div class="pa tac fold">
                        <span class="pa trigon"></span>
                        <ul>
                            <li class="myPage"><a href="UserPageNew.html">我的研习社</a></li>
                            <li class="myPage"><a href="http://www.shenyecg.com" target="_blank">深夜学院</a></li>
                            <li class="authentication"><a href="CareerAuthen.html">深夜认证</a></li>
                            <li class="wallet"><a href="MyWallet.html">钱包</a></li>
                            <li class="setting"><a href="UserSetting.html">设置</a></li>
                            <li class="SY-exit">
                                <a href="javascript:void(0);"><i></i>退出</a>
                            </li>
                        </ul>
                    </div>
                </li>
                <li class="SY-regLog fr dn">
                    <a href="javascript:void(0);">注册</a>
                    <a href="javascript:void(0);">登录</a>
                </li>
                <li class="SY-notify fr">
                    <a href="Notify.html"><i></i><span class="num pa">99+</span></a>
                    <div class="pa fold">
                        <span class="pa trigon"></span>
                        <p class="topBox clearfix">
                            <span class="text fl">消息盒子</span>
                            <a href="javascript:void(0);" class="emptyBtn fr">清空</a>
                        </p>
                        <ul class="">
                            <li><a href="javascript:void(0);">[系统]管理员审核通过了你发表的原创作品《路人甲》</a></li>
                            <li><a href="javascript:void(0);">[私信]路人甲给你发来了1条私信</a></li>
                            <li><a href="javascript:void(0);">[通知]路人甲关注了你</a></li>
                        </ul>
                        <!--缺省提示-->
                        <div class="emptyInfo tac dn">
                            <p class="tips">暂无消息</p>
                        </div>
                        <div class="checkAll">
                            <a class="db tac" href="Notify.html">查看全部&nbsp;>></a>
                        </div>
                    </div>
                </li>
                <li class="fr line"></li>
                <li class="SY-focus dn fr">
                    <a href="UserCenter.html"><i></i><span>关注</span></a>
                </li>
                <li class="SY-Recruit fr">
                    <a href="Recruit.html"><i></i><span>招聘</span></a>
                    <span class="event db pa new"></span>
                </li>
                <li class="SY-piazza fr">
                    <a href="SquareNew.html"><i></i><span>广场</span></a>
                </li>
                <li class="SY-CG fr dn">
                    <a href="http://www.shenyecg.com" target="_blank"><i></i><span>学院</span></a>
                </li>
                <li class="SY-index fr dn">
                    <a href="Index.html"><i></i><span>首页</span></a>
                </li>
            </ul>
        </div>
    </div>
</div>
<!--头部 结束-->
<!--主内容 开始-->
<div class="SY-content pr">
    <div class="SY-setContent">
        <div class="headBox"></div>
        <div class="mainBox wrap">
            <div class="content br5 border1">
                <div class="S-main">
                    <div class="titleBox">
                        <h2 class="title">商品信息</h2>
                    </div>
                    <div class="courseMsg br5 border1 clearfix">
                        <h3 class="courseName fl toe">这是课程名称这是课程名称</h3>
                        <div class="fr userMsg clearfix">
                            <div class="avatar br50 fl">
                                <img class="br50" src="http://img.shenyecg.com/UploadImages/HeadShow/30.jpg" alt="">
                            </div>
                            <p class="nickName fl">路人甲</p>
                        </div>
                    </div>
                    <div class="description clearfix">
                        <p class="fl text">这是一段描述这是一段描述这是一段描述这是一段描述这是一段描述这是一段描述这是一段描述这是一段描述这是一段描述这是一段描述这是一段描述这是一段描述这是一段描述这是一段描述这是一段描述这是一段描述这是一段描述这是一段描述这是一段描述</p>
                        <p class="fr price">￥60.00</p>
                    </div>
                    <div class="payWays br5 border1">
                        <div class="chooseTab">
                            <ul>
                                <li class="coupon active"><a href="javascript:void(0);">优惠券<i></i></a></li>
                                <li class="redbag"><a href="javascript:void(0);">红包</a></li>
                                <li class="extra"><a href="javascript:void(0);">余额</a></li>
                            </ul>
                        </div>
                        <div class="payBox">
                            <!--优惠券-->
                            <div class="couponBox">
                                <div class="valid">
                                    <ul class="couponList">
                                        <li class="coupon dib" data-check="false">
                                            <div class="pic normal"></div>
                                            <div class="text pr">
                                                <p class="rmb pa"><span>￥</span>50</p>
                                                <p class="timeLimit pa"><span class="begin">2018.4.20</span>-<span class="end">2018.5.20</span></p>
                                                <p class="useLimit pa toe">[<span>全场通用</span>]</p>
                                                <span class="cancel pa"></span>
                                                <span class="sure pa"></span>
                                            </div>
                                        </li>
                                        <li class="coupon dib" data-check="false">
                                            <div class="pic normal"></div>
                                            <div class="text pr">
                                                <p class="rmb pa"><span>￥</span>50</p>
                                                <p class="timeLimit pa"><span class="begin">2018.4.20</span>-<span class="end">2018.5.20</span></p>
                                                <p class="useLimit pa toe">[<span>全场通用</span>]</p>
                                                <span class="cancel pa"></span>
                                                <span class="sure pa"></span>
                                            </div>
                                        </li>
                                        <li class="coupon dib" data-check="false">
                                            <div class="pic normal"></div>
                                            <div class="text pr">
                                                <p class="rmb pa"><span>￥</span>50</p>
                                                <p class="timeLimit pa"><span class="begin">2018.4.20</span>-<span class="end">2018.5.20</span></p>
                                                <p class="useLimit pa toe">[<span>全场通用</span>]</p>
                                                <span class="cancel pa"></span>
                                                <span class="sure pa"></span>
                                            </div>
                                        </li>
                                        <li class="coupon dib" data-check="false">
                                            <div class="pic normal"></div>
                                            <div class="text pr">
                                                <p class="rmb pa"><span>￥</span>50</p>
                                                <p class="timeLimit pa"><span class="begin">2018.4.20</span>-<span class="end">2018.5.20</span></p>
                                                <p class="useLimit pa toe">[<span>全场通用</span>]</p>
                                                <span class="cancel pa"></span>
                                                <span class="sure pa"></span>
                                            </div>
                                        </li>
                                    </ul>
                                </div>
                                <div class="invalid">
                                    <ul class="couponList">
                                        <li class="coupon dib">
                                            <div class="pic normal"></div>
                                            <div class="text pr">
                                                <p class="rmb pa"><span>￥</span>50</p>
                                                <p class="timeLimit pa"><span class="begin">2018.4.20</span>-<span class="end">2018.5.20</span></p>
                                                <p class="useLimit pa toe">[<span>全场通用</span>]</p>
                                                <span class="cancel pa"></span>
                                                <span class="sure pa"></span>
                                            </div>
                                        </li>
                                        <li class="coupon dib">
                                            <div class="pic normal"></div>
                                            <div class="text pr">
                                                <p class="rmb pa"><span>￥</span>50</p>
                                                <p class="timeLimit pa"><span class="begin">2018.4.20</span>-<span class="end">2018.5.20</span></p>
                                                <p class="useLimit pa toe">[<span>全场通用</span>]</p>
                                                <span class="cancel pa"></span>
                                                <span class="sure pa"></span>
                                            </div>
                                        </li>
                                    </ul>
                                </div>
                                <!--缺省提示-->
                                <div class="emptyInfo tac dn">
                                    <div class="icon"></div>
                                    <p class="tips">没有此类相关优惠券</p>
                                </div>
                            </div>
                            <!--红包-->
                            <div class="redbagBox dn">
                                <!--缺省提示-->
                                <div class="emptyInfo tac">
                                    <div class="icon"></div>
                                    <p class="tips">没有此类相关红包</p>
                                </div>
                            </div>
                            <!--余额-->
                            <div class="extraBox dn">
                                <!--缺省提示-->
                                <div class="emptyInfo tac">
                                    <div class="icon"></div>
                                    <p class="tips">没有余额</p>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="submitOrder tar">
                        <p class="text">共<span class="totalCount">1</span>件商品，商品总额<span class="totalPrice">￥60.00</span></p>
                        <p class="text">优惠券：<span class="minusPrice">-50.00</span></p>
                        <p class="text">应付：<span class="totalPay">￥10.00</span></p>
                        <a class="tac dib transition br5 btn" href="javascript:void(0);">去支付</a>
                        <p class="check">
                            <label><span class="checkedIcon"></span>我已阅读并同意</label>
                            <a href="javascript:void(0);" class="protocol">《用户付费协议》</a>
                        </p>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<!--主内容 结束-->
<!--页脚 开始-->
<div class="SY-footer">
    <div class="SY-foot clearfix">
        <div class="aboutUs fl">
            <div class="logoBox">
                <img src="img/icons/bottomLogo.png" alt="">
                <p class="dib slogin">深夜研习社</p>
                <span class="line dib"></span>
                <p class="dib text">知识应该受到尊重</p>
            </div>
            <div class="connectUs">
                <p class="text dib">联系我们:<span class="phoneNumer dib">027-62438159</span></p>
                <a href="javascript:void(0);" class="tencent linkIcon"></a>
            </div>
        </div>
        <div class="msgDetail fr clearfix">
            <ul class="iconList fr">
                <li class="pr">
                    <span class="wechat linkIcon"></span>
                    <div class="weChatCode tac pa">
                        <i class="icon-arrow-down pa"></i>
                        <p class="scan">扫描二维码</p>
                        <p class="text">关注微信公众号</p>
                        <img src="img/icons/WeChatCode.jpg" alt="">
                    </div>
                </li>
                <li><a href="javascript:void(0);" class="sina linkIcon"></a></li>
            </ul>
            <dl class="fr">
                <dt><a href="HelpCenter.html">关于我们</a></dt>
            </dl>
            <dl class="fr">
                <dt><a href="HelpCenter.html">服务条款</a></dt>
            </dl>
            <dl class="fr">
                <dt><a href="HelpCenter.html">版权申明</a></dt>
            </dl>
            <dl class="fr">
                <dt><a href="HelpCenter.html">常见问题</a></dt>
            </dl>
            <p class="recordNumber"><a href="javascript:void(0);">Copyright&copy; www.shenyecg.com 2017 | 鄂ICP备16021987号-1</a></p>
        </div>
    </div>
</div>
<!--页脚 结束-->
<script src="js/jquery.min.js"></script>
<script src="js/search.js"></script>
<script>
    $(function () {
        //优惠券&红包&余额选择
        $(".S-main .payWays .chooseTab li").click(function () {
            var index = $(this).index();
           $(this).addClass("active").siblings().removeClass("active");
           $(".S-main .payWays .payBox > div").eq(index).show().siblings().hide();
        });

        //优惠券选择
        $(".couponBox .valid .coupon").click(function () {
            var check = $(this).data("check");
            if(!check) {
                $(this).addClass("active");
                $(this).data("check",true);
            }else{
                $(this).removeClass("active");
                $(this).data("check",false);
            }
        });

        //同意协议
        var svag = 1;
        $(".S-main .submitOrder .check label").click(function () {
            if(svag == 1) {
                $(this).find(".checkedIcon").addClass("cancel");
                svag = 0;
            }else{
                $(this).find(".checkedIcon").removeClass("cancel");
                svag = 1;
            }
        })
    })
</script>
</body>
</html>